package com.bdsoft.actions.noticeManage.Service;

import com.bdsoft.actions.noticeManage.DTO.NoticeDTO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface NoticeService {
    PageInfo<Map<String, Object>> getNoticeList(int pageNum, int pageSize, String title, Integer status,String authHeader);
    Map<String, Object> createNotice(NoticeDTO noticeDTO,String authHeader);
    Map<String, Object> saveOrUpdateNotice(NoticeDTO noticeDTO);
    Map<String, Object> deleteNotice(String id);
    Map<String, Object> batchDeleteNotice(List<String> ids);
    Map<String, Object> getNoticeDetail(String id);
    Map<String, Object> publishNotice(String id);
    Map<String, Object> revokeNotice(String id);
}